package com.xinsoft.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.dto.SysWarehouseParam;
import com.xinsoft.entity.po.SysWarehouse;
import org.json.JSONObject;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author lijie
* @description 针对表【sys_warehouse(仓库)】的数据库操作Service
* @createDate 2023-05-24 10:27:21
*/
public interface SysWarehouseService extends IService<SysWarehouse> {

    /**
     * @Author Li9527
     * @Description 仓库分页
     * @Date 2023/5/26 12:59
     * @params   param
     * @return java.lang.Object
     **/
    Object findPageListByParam(SysWarehouseParam param);


    /**
     * 方法描述: [导入]</br>
     * 初始作者: hsm<br/>
     * 创建日期: e 2023/5/26 12:59
     * 开始版本: 1.0.0<br/>

     * @param multipartFile
     * @return void
     */
    JSONObject importExcel(MultipartFile multipartFile) throws IOException;

    void insertOrUpdateBatch(List<SysWarehouse> sysWarehouseList);
}
